#ifndef PIECHART_H
#define PIECHART_H

#include <QWidget>
#include <QPainter>
#include "spiechart.h"
#include "chartdirector/chartdir.h"

extern "C" {
#include "filesystem/filesystem.h"
#include "filesystem/bitmap.h"
#include "filesystem/inode.h"
#include "filesystem/mini.h"
}

class SPieChart : public QWidget
{
    Q_OBJECT
public:
    explicit SPieChart(QWidget *parent = 0);
    ~SPieChart();

    void paintEvent(QPaintEvent *);

private:
    void generate();
    
signals:
    
public slots:

};

#endif // PIECHART_H
